package com.runvp.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取设备相关配置
 *
 * @author xkk
 */
@Component
@ConfigurationProperties(prefix = "enc.aes128gcm")
public class Aes128GcmConfig {

    /**
     * myKey
     */
    private static String myKey = "BMrcujdO0XDjvOOa";

    /**
     * myIv
     */
    private static String myIv = "98BPRR4Wve41";

    public static String getMyKey() {
        return myKey;
    }

    public void setMyKey(String myKey) {
        Aes128GcmConfig.myKey = myKey;
    }

    public static String getMyIv() {
        return myIv;
    }

    public void setMyIv(String myIv) {
        Aes128GcmConfig.myIv = myIv;
    }


}